package com.acme.bankapp.service.bank;

import java.util.LinkedList;
import java.util.List;

import com.acme.bankapp.domain.bank.Email;

public class Queue<T> {
	private List<T> arr = new LinkedList<T>();
	
	public void push(final T obj) {
		arr.add(obj);
	}
	
	public T pop() {
		return arr.remove(0);
	}
	
	public boolean isEmpty() {
		return arr.isEmpty();
	}
}
